/**
 * Copyright (C) 2019 Baidu, Inc. All Rights Reserved.
 */
package com.bailiban.pojo;

import java.util.Date;

/**
 * @author zhulang
 * @version 创建时间：2019年9月26日 下午5:02:42
 */
public class Order {
    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */

    private String oid;

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */

    private int uid;
    private Date orderTime;
    private int tid;

    private User user;
    private Stadia stadia;
    private Tickets tickets;

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @param user the user to set
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * @return the stadia
     */
    public Stadia getStadia() {
        return stadia;
    }

    /**
     * @param stadia the stadia to set
     */
    public void setStadia(Stadia stadia) {
        this.stadia = stadia;
    }

    /**
     * @return the tickets
     */
    public Tickets getTickets() {
        return tickets;
    }

    /**
     * @param tickets the tickets to set
     */
    public void setTickets(Tickets tickets) {
        this.tickets = tickets;
    }

    /**
     * @return the oid
     */
    public String getOid() {
        return oid;
    }

    /**
     * @param oid the oid to set
     */
    public void setOid(String oid) {
        this.oid = oid;
    }

    /**
     * @return the uid
     */
    public int getUid() {
        return uid;
    }

    /**
     * @param uid the uid to set
     */
    public void setUid(int uid) {
        this.uid = uid;
    }

    /**
     * @return the orderTime
     */
    public Date getOrderTime() {
        return orderTime;
    }

    /**
     * @param orderTime the orderTime to set
     */
    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    /**
     * @return the tid
     */
    public int getTid() {
        return tid;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Order [oid=" + oid + ", uid=" + uid + ", orderTime=" + orderTime + ", tid=" + tid + ", user=" + user
                + ", stadia=" + stadia + ", tickets=" + tickets + "]";
    }

    /**
     * @param tid the tid to set
     */
    public void setTid(int tid) {
        this.tid = tid;
    }

}
